]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Fix 'redeclaration of global' error in lookingGlass.js.
authorSiegfried-Angel Gevatter Pujals <rainct@ubuntu.com>
Tue, 4 Aug 2009 00:36:53 +0000 (02:36 +0200)
committerSiegfried-Angel Gevatter Pujals <rainct@ubuntu.com>
Tue, 4 Aug 2009 00:36:53 +0000 (02:36 +0200)
js/ui/lookingGlass.js

index 337a519392e3220a3819746faabfdb10cf6d205d..085076a2bc420a2dbcaa8f5addc8d7e82a2eb03f 100644 (file)
@@ -175,7 +175,7 @@ LookingGlass.prototype = {
         let global = Shell.Global.get();
 
         this._idleHistorySaveId = 0;
-        let historyPath = Shell.Global.get().configdir + "/lookingglass-history.txt";
+        let historyPath = global.configdir + "/lookingglass-history.txt";
         this._historyFile = Gio.file_new_for_path(historyPath);
         this._savedText = null;
         this._historyNavIndex = -1;
@@ -241,7 +241,6 @@ LookingGlass.prototype = {
                 this._hierarchy.setTarget(target);
                 eventHandler.destroy();
                 this.actor.show();
-                let global = Shell.Global.get();
                 global.stage.set_key_focus(this._entry);
                 return true;
             }));